
CC = bcc32.exe
LINK = ilink32.exe
LIB = tlib.exe
IMPLIB = implib.exe

OBJDIR = obj
BINDIR = bin

# for Borland C++ Compiler 5.5/5.6
CFLAGS_BASE = -c -a8 -tW -tWM -tWR -DWIN32 -DUNICODE -D_UNICODE -D_NO_LONGLONG_TYPE
LFLAGS_BASE = -c -C

# for the version is Borland C++Builder 2006 or higher than Borland C++Builder 2006
#CFLAGS_BASE = -c -a8 -tW -tWM -tWR -DWIN32 -DUNICODE -D_UNICODE
#LFLAGS_BASE = -c -C

!if $(BUILD) == release
    CFLAGS_BASE = $(CFLAGS_BASE) -O2
    LFLAGS_BASE = $(LFLAGS_BASE) -x
!else
    CFLAGS_BASE = $(CFLAGS_BASE) -v -y
    LFLAGS_BASE = $(LFLAGS_BASE) -v -m -M -s
!endif


